//第一期路由
import mainBaseManagement from '@/views/mainVue/mainBaseManagement.vue';
import mainSystemManagement from '@/views/mainVue/mainSystemManagement.vue';
import mainXieTongManagement from '@/views/mainVue/mainXieTongManagement.vue';
import mainTongJiManagement from '@/views/mainVue/mainTongJiManagement.vue';
import mainServiceRequestManagement from '@/views/mainVue/mainServiceRequestManagement.vue';
import mainServiceStatisticsReport from '@/views/mainVue/mainServiceStatisticsReport.vue';
import mainServiceMonitoringLog from '@/views/mainVue/mainServiceMonitoringLog.vue';
import mainApplicationManagement from '@/views/mainVue/mainApplicationManagement.vue';
import mainApplicationLogManagement from '@/views/mainVue/mainApplicationLogManagement.vue';
import mainApplicationOfEvaluationManagement from '@/views/mainVue/mainApplicationOfEvaluationManagement.vue';
import mainApplicationAudit from '@/views/mainVue/mainApplicationAudit.vue';
import mainAnOverviewOfApplicationStatistics from '@/views/mainVue/mainAnOverviewOfApplicationStatistics.vue';
import mainApplicationStatistics from '@/views/mainVue/mainApplicationStatistics.vue';

export const appRouterApplicationStatistics = [
    {
        path: '/webos/applicationStatistics88',
        icon: 'ios-navigate',
        name: 'applicationStatistics88',
        title: '应用使用统计',
        component: mainApplicationStatistics,
        children: [
            { path: 'applicationStatistics8899', title: '应用使用统计', name: 'applicationStatistics8899', icon: 'ios-navigate', component: () => import('@/views/application-of-statistical-reports/applicationStatistics.vue') },
        ]
    },
];

export const appRouterAnOverviewOfApplicationStatistics = [
    {
        path: '/webos/anOverviewOfApplicationStatistics2',
        icon: 'ios-navigate',
        name: 'anOverviewOfApplicationStatistics2',
        title: '应用统计概览',
        component: mainAnOverviewOfApplicationStatistics,
        children: [
            { path: 'anOverviewOfApplicationStatistics3', title: '应用统计概览', name: 'anOverviewOfApplicationStatistics2', icon: 'ios-navigate', component: () => import('@/views/application-of-statistical-reports/anOverviewOfApplicationStatistics.vue') },
        ]
    },
];

export const appRouterApplicationAudit = [
    {
        path: '/webos/applicationAudit',
        icon: 'ios-navigate',
        name: 'applicationAudit',
        title: '应用审核',
        component: mainApplicationAudit,
        children: [
            { path: 'applicationAudit3', title: '应用审核', name: 'applicationAudit3', icon: 'ios-navigate', component: () => import('@/views/application-audit/applicationAudit.vue') },
        ]
    },

];

export const appRouterApplicationOfEvaluationManagement = [
    {
        path: '/webos/applicationOfEvaluationManagement',
        name: 'applicationOfEvaluationManagement',
        title: '湖南省应用市场',
        component: mainApplicationOfEvaluationManagement,
        children: [
            { path: 'applicationOfEvaluationManagement2', title: '全部应用管理', icon: 'ios-bookmarks-outline', name: 'applicationOfEvaluationManagement2',  component: () => import('@/views/application-review/allApplications.vue') },
            { path: 'applicationOfEvaluationManagement2s', title: '常用应用', icon: 'ios-cog-outline', name: 'applicationOfEvaluationManagement2s',  component: () => import('@/views/application-review/allApplications2.vue') },
            { path: 'applicationOfEvaluationManagement2ss', title: '警务日常用应用', icon: 'ios-bookmarks-outline', name: 'applicationOfEvaluationManagement2ss',  component: () => import('@/views/application-review/allApplications3.vue') },
            { path: 'applicationOfEvaluationManagement2sss', title: '警钟专业应用', icon: 'ios-settings', name: 'applicationOfEvaluationManagement2sss',  component: () => import('@/views/application-review/allApplications.vue') },
        ]
    },
    {
        path: '/webos/applicationOfEvaluationManagementAA',
        name: 'applicationOfEvaluationManagementAA',
        title: '长沙市应用市场',
        component: mainApplicationOfEvaluationManagement,
        children: [
            { path: 'applicationOfEvaluationManagement2AA', title: '全部应用管理', icon: 'ios-bookmarks-outline', name: 'applicationOfEvaluationManagement2AA',  component: () => import('@/views/application-review/allApplications.vue') },
            { path: 'applicationOfEvaluationManagement2sAA', title: '常用应用', icon: 'ios-cog-outline', name: 'applicationOfEvaluationManagement2sAA',  component: () => import('@/views/application-review/allApplications.vue') },
            { path: 'applicationOfEvaluationManagement2ssAA', title: '警务日常用应用', icon: 'ios-bookmarks-outline', name: 'applicationOfEvaluationManagement2ssAA',  component: () => import('@/views/application-review/allApplications.vue') },
            { path: 'applicationOfEvaluationManagement2sssAA', title: '警钟专业应用', icon: 'ios-settings', name: 'applicationOfEvaluationManagement2sssAA',  component: () => import('@/views/application-review/allApplications.vue') },
        ]
    },
    {
        path: '/webos/applicationOfEvaluationManagementAAB',
        name: 'applicationOfEvaluationManagementAAB',
        title: '株洲市应用市场',
        component: mainApplicationOfEvaluationManagement,
        children: [
            { path: 'applicationOfEvaluationManagement2AAB', title: '全部应用管理', icon: 'ios-bookmarks-outline', name: 'applicationOfEvaluationManagement2AAB',  component: () => import('@/views/application-review/allApplications.vue') },
            { path: 'applicationOfEvaluationManagement2sAAB', title: '常用应用', icon: 'ios-cog-outline', name: 'applicationOfEvaluationManagement2sAAB',  component: () => import('@/views/application-review/allApplications.vue') },
            { path: 'applicationOfEvaluationManagement2ssAAB', title: '警务日常用应用', icon: 'ios-bookmarks-outline', name: 'applicationOfEvaluationManagement2ssAAB',  component: () => import('@/views/application-review/allApplications.vue') },
            { path: 'applicationOfEvaluationManagement2sssAAB', title: '警钟专业应用', icon: 'ios-settings', name: 'applicationOfEvaluationManagement2sssAAB',  component: () => import('@/views/application-review/allApplications.vue') },
        ]
    },
];

export const appRouterApplicationLogManagement = [
    {
        path: '/webos/applicationLogManagement',
        icon: 'ios-navigate',
        name: 'applicationManagement',
        title: '应用日志管理',
        component: mainApplicationLogManagement,
        children: [
            { path: 'applicationOfInformationSynchronizationLogs2', title: '应用信息同步日志', name: 'applicationOfInformationSynchronizationLogs2', icon: 'ios-navigate', component: () => import('@/views/application-log-management/applicationOfInformationSynchronizationLogs.vue') },
        ]
    },
    {
        path: '/webos/applicationLogManagement',
        icon: 'ios-navigate',
        name: 'applicationManagement',
        title: '应用日志管理',
        component: mainApplicationLogManagement,
        children: [
            { path: 'applicationDownloadLog2', title: '应用下载日志', name: 'applicationDownloadLog2', icon: 'ios-navigate', component: () => import('@/views/application-log-management/applicationDownloadLog.vue') },
        ]
    },
    {
        path: '/webos/applicationLogManagement',
        icon: 'ios-navigate',
        name: 'applicationManagement',
        title: '应用日志管理',
        component: mainApplicationLogManagement,
        children: [
            { path: 'applicationOfAuditLog2', title: '应用审计日志', name: 'applicationOfAuditLog2', icon: 'ios-navigate', component: () => import('@/views/application-log-management/applicationOfAuditLog.vue') },
        ]
    },
    {
        path: '/webos/applicationLogManagement',
        icon: 'ios-navigate',
        name: 'applicationManagement',
        title: '应用日志管理',
        component: mainApplicationLogManagement,
        children: [
            { path: 'applicationMonitoringLog2', title: '应用监控日志', name: 'applicationMonitoringLog2', icon: 'ios-navigate', component: () => import('@/views/application-log-management/applicationMonitoringLog.vue') },
        ]
    },
];

export const appRouterServiceMonitoringLog = [
    {
        path: '/webos/serviceMonitoringLog',
        icon: 'ios-navigate',
        name: 'serviceMonitoringLog',
        title: '服务监控日志',
        component: mainServiceMonitoringLog,
        children: [
            { path: 'serviceCallLog', title: '服务调用日志', name: 'serviceCallLog', icon: 'ios-navigate', component: () => import('@/views/api-manage/invokLog.vue') },
        ]
    },
    {
        path: '/webos/serviceMonitoringLog',
        icon: 'ios-navigate',
        name: 'serviceMonitoringLog',
        title: '服务监控日志',
        component: mainServiceMonitoringLog,
        children: [
            { path: 'userOperationLog', title: '用户操作日志', name: 'userOperationLog', icon: 'ios-navigate', component: () => import('@/views/api-manage/operationLog.vue') },
        ]
    },
];

export const appRouterServiceStatisticsReport = [
    {
        path: '/webos/serviceStatisticsReport',
        icon: 'ios-navigate',
        name: 'serviceStatisticsReport',
        title: '服务统计报表',
        component: mainServiceStatisticsReport,
        children: [
            { path: 'servicesOverview', title: '服务概览', name: 'servicesOverview', icon: 'ios-navigate', component: () => import('@/views/api-manage/logStatistics.vue') },
        ]
    },
    {
        path: '/webos/serviceStatisticsReport',
        icon: 'ios-navigate',
        name: 'serviceStatisticsReport',
        title: '服务统计报表',
        component: mainServiceStatisticsReport,
        children: [
            { path: 'interfaceTrafficStatistics', title: '接口流量统计', name: 'interfaceTrafficStatistics', icon: 'ios-navigate', component: () => import('@/views/api-manage/interfaceFlow.vue') },
        ]
    },
    {
        path: '/webos/serviceStatisticsReport',
        icon: 'ios-navigate',
        name: 'serviceStatisticsReport',
        title: '服务统计报表',
        component: mainServiceStatisticsReport,
        children: [
            { path: 'servicesFrequencyCount', title: '服务频率统计', name: 'servicesFrequencyCount', icon: 'ios-navigate', component: () => import('@/views/api-manage/serviceFrequencyMonitoring.vue') },
        ]
    },
];

export const appRouterServiceRequestManagement = [
    {
        path: '/webos/serviceRequestManagement',
        icon: 'ios-navigate',
        name: 'serviceRequestManagement',
        title: '服务请求管理',
        component: mainServiceRequestManagement,
        children: [
            { path: 'requestingManagement', title: '请求方管理', name: 'requestingManagement', icon: 'ios-navigate', component: () => import('@/views/api-manage/requester.vue') },
        ]
    },
    {
        path: '/webos/serviceRequestManagement',
        icon: 'ios-navigate',
        name: 'serviceRequestManagement',
        title: '服务请求管理',
        component: mainServiceRequestManagement,
        children: [
            { path: 'serviceRequestManagement2', title: '服务请求管理', name: 'serviceRequestManagement2', icon: 'ios-navigate', component: () => import('@/views/api-manage/serReqAssociation.vue') },
        ]
    },
];

export const appRouterSystemManagement = [
    {
        path: '/webos/systemManagement',
        icon: 'ios-navigate',
        name: 'systemManagement',
        title: '系统管理',
        component: mainSystemManagement,
        children: [
            { path: 'userManagement', title: '用户管理', name: 'userManagement', icon: 'ios-navigate', component: () => import('@/views/uam/user/user.vue') },
        ]
    },
    {
        path: '/webos/baseManagement',
        icon: 'ios-navigate',
        name: 'systemManagement',
        title: '系统管理',
        component: mainSystemManagement,
        children: [
            { path: 'roleManagement', title: '角色管理', name: 'roleManagement', icon: 'ios-navigate', component: () => import('@/views/uam/role/role.vue') },
        ]
    },
    {
        path: '/webos/baseManagement',
        icon: 'ios-navigate',
        name: 'systemManagement',
        title: '系统管理',
        component: mainSystemManagement,
        children: [
            { path: 'organizationManagement', title: '部门管理', name: 'organizationManagement', icon: 'ios-navigate', component: () => import('@/views/uam/organization/organization.vue') },
        ]
    },
    {
        path: '/webos/baseManagement',
        icon: 'ios-navigate',
        name: 'systemManagement',
        title: '系统管理',
        component: mainSystemManagement,
        children: [
            { path: 'policeManagement', title: '警种管理', name: 'policeManagement', icon: 'ios-navigate', component: () => import('@/views/uam/job-category/job-category.vue') },
        ]
    },
];

export const appRouterBaseManagement = [
    {
        path: '/webos/baseManagement',
        icon: 'ios-navigate',
        name: 'baseManagement',
        title: '基础管理',
        component: mainBaseManagement,
        children: [
            { path: 'supplierManagement', title: '供应商管理', name: 'supplierManagement', icon: 'ios-navigate', component: () => import('@/views/app-market/supplier/supplier.vue') },

        ]
    },
    {
        path: '/webos/baseManagement',
        icon: 'ios-navigate',
        name: 'baseManagement',
        title: '基础管理',
        component: mainBaseManagement,
        children: [
            { path: 'applicationMarketManagement', title: '应用市场管理', name: 'applicationMarketManagement', icon: 'ios-navigate', component: () => import('@/views/app-market/market/market.vue') },

        ]
    },
    {
        path: '/webos/baseManagement',
        icon: 'ios-navigate',
        name: 'baseManagement',
        title: '基础管理',
        component: mainBaseManagement,
        children: [
            { path: 'applicationClassificationManagement', title: '应用分类管理', name: 'applicationClassificationManagement', icon: 'ios-navigate', component: () => import('@/views/app-market/application-type/application-type.vue') },

        ]
    },
];

export const appRouterXieTongManagement = [/*业务协同前台版*/
    {
        path: '/webos/XieTongManagement',
        icon: 'ios-navigate',
        name: 'XieTongManagement',
        title: '业务协同',
        component: mainXieTongManagement,
        children: [
            { path: 'waitDanManagement', title: '待办工单', name: 'waitDanManagement', icon: 'ios-navigate', component: () => import('@/views/xietong/waitdan/waitdan.vue') },
        ]
    },
    {
        path: '/webos/XieTongManagement',
        icon: 'ios-navigate',
        name: 'XieTongManagement',
        title: '业务协同',
        component: mainXieTongManagement,
        children: [
            { path: 'mydanManagement', title: '我的工单', name: 'mydanManagement', icon: 'ios-navigate', component: () => import('@/views/xietong/mydan/mydan.vue') },
        ]
    },
    {
        path: '/webos/XieTongManagement',
        icon: 'ios-navigate',
        name: 'XieTongManagement',
        title: '业务协同',
        component: mainXieTongManagement,
        children: [
            { path: 'applydanManagement', title: '申请工单', name: 'applydanManagement', icon: 'ios-navigate', component: () => import('@/views/xietong/applydan/applydan.vue') },
        ]
    },
];

export const appRouterTongJiManagement = [/*统计报表前台版*/
    {
        path: '/webos/TongJiManagement',
        icon: 'ios-navigate',
        name: 'TongJiManagement',
        title: '统计分析',
        component: mainTongJiManagement,
        children: [
            { path: 'danTongManagement', title: '业务统计', name: 'danTongManagement', icon: 'ios-navigate', component: () => import('@/views/tongji/dantong/dantong.vue') },
        ]
    },
    {
        path: '/webos/TongJiManagement',
        icon: 'ios-navigate',
        name: 'TongJiManagement',
        title: '统计分析',
        component: mainTongJiManagement,
        children: [
            { path: 'danPingManagement', title: '业务考核', name: 'danPingManagement', icon: 'ios-navigate', component: () => import('@/views/tongji/danping/danping.vue') },
        ]
    },
];

export const appRouterApplicationManagement = [
    {
        path: '/webos/applicationManagement',
        icon: 'ios-navigate',
        name: 'applicationManagement',
        title: '应用管理',
        component: mainApplicationManagement,
        children: [
            { path: 'applicationManagement2', title: '应用管理', name: 'applicationManagement2', icon: 'ios-keypad', component: () => import('@/views/app-market/app-list/app-summary.vue') },
        ]
    },
    {
        path: '/webos/applicationManagement',
        icon: 'ios-navigate',
        name: 'applicationManagement',
        title: '应用管理',
        component: mainApplicationManagement,
        children: [
            { path: 'newApplication', title: '新增应用', name: 'newApplication', icon: 'plus-circled', component: () => import('@/views/app-market/app-list/app-summary-add.vue') },
        ]
    },
];
